package top.tangyh.lamp.care.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import static com.baomidou.mybatisplus.annotation.SqlCondition.EQUAL;
import static top.tangyh.lamp.model.constant.Condition.LIKE;
import top.tangyh.basic.base.entity.Entity;


/**
 * <p>
 * 实体类
 * 评估评分明细
 * </p>
 *
 * @author zqb
 * @date 2024-07-08 16:40:03
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Builder
@TableName("b_pg_record_detail")
public class BPgRecordDetail extends Entity<Long> {
    private static final long serialVersionUID = 1L;

    /**
     * 评估记录id
     */
    @TableField(value = "pg_record_id", condition = EQUAL)
    @Schema(description = "评估记录id")
    private Long pgRecordId;
    /**
     * 输入项id
     */
    @TableField(value = "pg_srx_id", condition = EQUAL)
    @Schema(description = "输入项id")
    private Long pgSrxId;
    /**
     * 选择项id,多选项用|分割
     */
    @TableField(value = "detail_id", condition = LIKE)
    @Schema(description = "选择项id,多选项用|分割")
    private String detailId;

    /**
     * 
     */

    /**
     * 评估项id
     */
    @TableField(value = "pg_id", condition = EQUAL)
    @Schema(description = "评估项id")
    private Long pgId;
    /**
     * 存储自定义内容
     */
    @TableField(value = "diy_content", condition = LIKE)
    @Schema(description = "存储自定义内容")
    private String diyContent;



}
